/**
 * Copyright &copy; 2012-2015  All rights reserved.
 */
package com.smartwork.common.mobile.wechat.service;

import com.smartwork.common.mobile.wechat.bean.WechatConf;
import com.smartwork.common.mobile.wechat.dao.WechatConfDao;
import com.smartwork.common.persistence.Page;
import com.smartwork.common.service.CrudService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


/**
 * sys_wechat_confService
 * @author wj
 * @version 2016-06-30
 */
@Service
@Transactional(readOnly = true)
public class WechatConfService extends CrudService<WechatConfDao, WechatConf> {

	public WechatConf get(String id) {
		return super.get(id);
	}
	
	public List<WechatConf> findList(WechatConf wechatConf) {
		return super.findList(wechatConf);
	}
	
	public Page<WechatConf> findPage(Page<WechatConf> page, WechatConf wechatConf) {
		return super.findPage(page, wechatConf);
	}
	
	@Transactional(readOnly = false)
	public void save(WechatConf wechatConf) {
		super.save(wechatConf);
	}
	
	@Transactional(readOnly = false)
	public void delete(WechatConf wechatConf) {
		super.delete(wechatConf);
	}
	
}